package com.shunda.ysdgj.model.entity.order;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("ysdgj_order_detail")
@Schema(description = "订单详情")
public class OrderDetail {
    @Schema(description = "订单ID")
    private Long orderId;

    @Schema(description = "商品ID")
    private Long skuId;

    @Schema(description = "商品单价")
    private BigDecimal price;

    @Schema(description = "商品市场单价")
    private BigDecimal marketPrice;

    @Schema(description = "购买数量")
    private Integer num;
}
